// 命名空间 避免命名冲突
// 里面方法类都是私有的
var A;
(function (A) {
    var Dog = /** @class */ (function () {
        function Dog(name) {
            console.log(this.name);
        }
        return Dog;
    }());
    A.Dog = Dog;
})(A || (A = {}));
var B;
(function (B) {
    var Dog = /** @class */ (function () {
        function Dog(name) {
            console.log(this.name);
        }
        return Dog;
    }());
    B.Dog = Dog;
})(B || (B = {}));
var d = new A.Dog('小花');
